package cn.cyber.wxfire.service;

import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;

public class SendSessionService {
    public void sendSession(Model model, HttpSession session){
        model.addAttribute("identity",session.getAttribute("identity"));
        model.addAttribute("user",session.getAttribute("loginUser"));
        model.addAttribute("num",session.getAttribute("cnum"));
    }

}
